import Vue from 'vue'
import Router from 'vue-router'
// import Hello from '@/components/Hello'
import Home from '@/pages/home'
import Search from '@/pages/search'
import UpdateCard from '@/pages/updateCard'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/srarch',
      name: 'Search',
      component: Search
    },
    {
      path: '/updatecard',
      name: 'UpdateCard',
      component: UpdateCard
    }
  ]
})
